const { defineConfig } = require("@vue/cli-service");
const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin");

module.exports = defineConfig({
	transpileDependencies: true,
	chainWebpack(config) {
		config.plugin("monaco").use(new MonacoWebpackPlugin());
	}
	// devServer: {
	//   proxy: {
	//     "/api": {
	//       target: "http://localhost:8121",
	//       changeOrigin: true,
	//     },
	//   },
	// },
});
